<!DOCTYPE html>
<body lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./static/js/vue.global.js"></script>
    <style>
        #app{
            text-align: center;
        }
    </style>
</head>

<body>
    <div id="app">
        <div style="display: flex; flex-direction: column;">
            <span v-text="name"></span>
            <span v-text="age"></span>
            <span v-text="hobby"></span>
            <span v-text="major"></span>
        </div>
        <div v-html="sign">个人标签：</div>
    </div>
</body>
<script>
    const App = {
        data(){
            return{
                name:"张 某",
                password:"来猜",
                age:"20",
                hobby:"敲代码",
                major:"软件技术",
                sign:`<h2>来财，来</h2>
            <a href="https://gitee.com/htpxz">点击进入我的主页</a>`
            }
        }
    }
    Vue.createApp(App).mount("#app")
</script>
</html>